<div class="heading_page">
	{$app_name} {$app_version}
</div>

<div class="heading_page_sub">
	User Management
</div>

<br/>

{if $ctl_mode=="list"}
	<table style="width:10O%;" cellpadding="0" cellspacing="0" border="0" class="listbox">
		<tr>
			<td class="listbox_header">
				User ID	
			</td>
			<td class="listbox_header">
				First Name		
			</td>
			<td class="listbox_header">
				Last Name		
			</td>
			<td class="listbox_header">
				Edit		
			</td>
		</tr>	
		{section name=user_index loop=$list_form_user_user}
			<tr>
				<td class="listbox_row" style="background-color:{cycle values=#ffffff,#eeeeff advance=false}">
					{$list_form_user_user[user_index].id|upper}
				</td>				
				<td class="listbox_row" style="background-color:{cycle values=#ffffff,#eeeeff advance=false}">
					{$list_form_user_user[user_index].first_name}
				</td>
				<td class="listbox_row" style="background-color:{cycle values=#ffffff,#eeeeff}">
					{$list_form_user_user[user_index].last_name}
				</td>
				<td class="listbox_row" style="background-color:{cycle values=#ffffff,#eeeeff}">
					<a href="?action=view&item=form_user&mode=edit&param={$list_form_user_user[user_index].id}">
						Edit
					</a>
				</td>
			</tr>
		{/section}
	</table>
{/if}

{if $ctl_mode=="edit"}
	<table style="width:10O%;" cellpadding="0" cellspacing="0" border="0">
		<tr>
			<td class="field_label" style="background-color:{cycle values=#ffffff,#eeeeff advance=false}">
				User ID:
			</td>				
			<td class="field_value" style="background-color:{cycle values=#ffffff,#eeeeff}">
				<input id="form_user_id" name="form_user_id" class="control" type="text" maxlength="10" size="10" value="0" title="" />							
			</td>
		</tr>
		<tr>
			<td class="field_label" style="background-color:{cycle values=#ffffff,#eeeeff advance=false}">
				User ID:
			</td>				
			<td class="field_value" style="background-color:{cycle values=#ffffff,#eeeeff}">
				<input id="form_user_id" name="form_user_id" class="control" type="text" maxlength="10" size="10" value="0" title="" />							
			</td>
		</tr>
	</table>

{/if}
